<!-- *** CUT top -->

<table width="800" border="0" cellspacing="0" cellpadding="0" class="metallic_grid_top_table" >
    <tr>
        <td>
            <div class="metallic_grid_title">Menus</div>
        </td>
    </tr>
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="metallic_paginator">
                <tr>
                    <td width="34%"> {if $menus_total_pages > 1}
                        <table border="0" cellspacing="0" cellpadding="2" class="metallic_pg_page_of_table">
                            <tr>
                                <td valign="middle">{if $menus_first_page}<a href="{$menus_first_page}" onclick="submit_ajax_grid_menus({$menus_first_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first_blue.png" alt="First page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first.png" alt="First page" border="0" />{/if}</td>
                                <td valign="middle">{if $menus_prev_page}<a href="{$menus_prev_page}" onclick="submit_ajax_grid_menus({$menus_prev_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev_blue.png" alt="Previous page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev.png" alt="Previous page" border="0" />{/if}</td>
                                <td class="metallic_pg_page_of" valign="middle">{if $menus_total_pages}Page {$menus_current_page} of {$menus_total_pages}{/if}</td>
                                <td valign="middle">{if $menus_next_page}<a href="{$menus_next_page}" onclick="submit_ajax_grid_menus({$menus_next_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next_blue.png" alt="Next page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next.png" alt="Next page" border="0" />{/if}</td>
                                <td valign="middle">{if $menus_last_page}<a href="{$menus_last_page}" onclick="submit_ajax_grid_menus({$menus_last_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last_blue.png" alt="Last page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last.png" alt="Last page" border="0" />{/if}</td>
                            </tr>
                        </table>
                        {/if} </td>
                    <td class="metallic_pg_jump_to_page" width="33%" align="center">{if $menus_records_to} Records {$menus_records_from}-{$menus_records_to} of {$menus_records_total}{/if}</td>
                    <td class="metallic_pg_records" width="33%" align="right"> {if $menus_total_pages > 1}
                        <table border="0" cellspacing="2" cellpadding="0">
                            <tr>
                                <td>Jump to page</td>
                                <td>
                                    <form class="metallic_pg_page_select" action="{$menus_jump_to_page_action}" method="get" enctype="application/x-www-form-urlencoded">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td>
                                                    <select name="menus_grid_page" id="menus_field_page" onchange="menus_page_change(this.options[this.selectedIndex].value); return false;">
                                                        
                                                            
															{foreach from=$menus_jump_to_page_arr item=menus_page_num}
															
                                                            
                                                        <option value="{$menus_page_num}"{if $menus_page_num == $menus_current_page} selected="selected"{/if}>{$menus_page_num}</option>
                                                        
                                                            
															{/foreach}
														
                                                        
                                                    </select>
                                                </td>
                                                <td>
                                                    <noscript>
                                                    &nbsp;
                                                    <input name="submit" type="image" src="img/modules/grid_html_tpl_static_ajax_metallic/page_go.png" alt="go" />
                                                    </noscript>
                                                </td>
                                            </tr>
                                        </table>
                                    </form>
                                </td>
                            </tr>
                        </table>
                        {else}
                        &nbsp;
                        {/if} </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table width="100%"  border="0" cellspacing="1" cellpadding="2" class="metallic_grid_table">
                <thead>
                    <tr>
                        <th align="center" class="metallic_grid_header" nowrap="nowrap" width="10%">&nbsp;ID&nbsp;</th>
                        <th align="center" class="metallic_grid_header" nowrap="nowrap" width="20%">&nbsp;HID / Exported as&nbsp;</th>
                        <th align="center" class="metallic_grid_header" nowrap="nowrap" width="30%">&nbsp;Name&nbsp;</th>
                        <th align="center" class="metallic_grid_header" nowrap="nowrap" width="20%">&nbsp;Type&nbsp;</th>
                        <th align="center" class="metallic_grid_header" nowrap="nowrap" width="20%">&nbsp;Parameters&nbsp;</th>
                        <th class="metallic_grid_header">&nbsp;</th>
                        <th class="metallic_grid_header">&nbsp;</th>
                    </tr>
                </thead>
                <tbody>
                
                {foreach from=$menus_prows item=row}
                <tr class="metallic_grid_body" onmouseover="this.className='metallic_grid_body_over';return true;" onmouseout="this.className='metallic_grid_body';return true;">
                    <td align="right">{$row.cols.0}</td>
                    <td align="left">{$row.cols.1}</td>
                    <td align="left">{$row.cols.2}</td>
                    <td align="left">{$row.cols.3}</td>
                    <td align="left">{$row.cols.4}</td>
                    <td align="center" width="1" class="metallic_grid_link"><a href="{$row.cols.5}?manage={$row.lc_vals.manage}" class="action_manage">Manage</a></td>
                    <td align="center" width="1" class="metallic_grid_link"><a href="admin/modules/tangra_cms/menu/menu_del.php?del={$row.lc_vals.delete}" class="action_delete">Delete</a></td>
                </tr>
                {foreachelse}
                <tr class="metallic_grid_body">
                    <td colspan="5" align="left">No items</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                {assign var="$menus_prows_count"  value=1}
                {/foreach}
                {math equation="$menus_page_size - rc" rc=$menus_prows_count assign=rc}
                {section name=aa loop=$rc}
                <tr class="metallic_grid_body">
                    <td colspan="5">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                {/section}
                </tbody>
                
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="metallic_paginator">
                <tr>
                    <td width="34%"> {if $menus_total_pages > 1}
                        <table border="0" cellspacing="0" cellpadding="2" class="metallic_pg_page_of_table">
                            <tr>
                                <td valign="middle">{if $menus_first_page}<a href="{$menus_first_page}" onclick="submit_ajax_grid_menus({$menus_first_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first_blue.png" alt="First page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first.png" alt="First page" border="0" />{/if}</td>
                                <td valign="middle">{if $menus_prev_page}<a href="{$menus_prev_page}" onclick="submit_ajax_grid_menus({$menus_prev_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev_blue.png" alt="Previous page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev.png" alt="Previous page" border="0" />{/if}</td>
                                <td class="metallic_pg_page_of" valign="middle">{if $menus_total_pages}Page {$menus_current_page} of {$menus_total_pages}{/if}</td>
                                <td valign="middle">{if $menus_next_page}<a href="{$menus_next_page}" onclick="submit_ajax_grid_menus({$menus_next_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next_blue.png" alt="Next page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next.png" alt="Next page" border="0" />{/if}</td>
                                <td valign="middle">{if $menus_last_page}<a href="{$menus_last_page}" onclick="submit_ajax_grid_menus({$menus_last_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last_blue.png" alt="Last page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last.png" alt="Last page" border="0" />{/if}</td>
                            </tr>
                        </table>
                        {/if} </td>
                    <td class="metallic_pg_jump_to_page" width="33%" align="center">{if $menus_records_to} Records {$menus_records_from}-{$menus_records_to} of {$menus_records_total}{/if}</td>
                    <td class="metallic_pg_records" width="33%" align="right"> {if $menus_total_pages > 1}
                        <table border="0" cellspacing="2" cellpadding="0">
                            <tr>
                                <td>Jump to page</td>
                                <td>
                                    <form action="{$menus_jump_to_page_action}" method="get" enctype="application/x-www-form-urlencoded">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td>
                                                    <select name="menus_grid_page" id="menus_field_page" onchange="menus_page_change(this.options[this.selectedIndex].value); return false;">
                                                        
                                                            
															{foreach from=$menus_jump_to_page_arr item=menus_page_num}
															
                                                            
                                                        <option value="{$menus_page_num}"{if $menus_page_num == $menus_current_page} selected="selected"{/if}>{$menus_page_num}</option>
                                                        
                                                            
															{/foreach}
														
                                                        
                                                    </select>
                                                </td>
                                                <td>
                                                    <noscript>
                                                    &nbsp;
                                                    <input name="submit" type="image" src="img/modules/grid_html_tpl_static_ajax_metallic/page_go.png" alt="go" />
                                                    </noscript>
                                                </td>
                                            </tr>
                                        </table>
                                    </form>
                                </td>
                            </tr>
                        </table>
                        {else}
                        &nbsp;
                        {/if} </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<!-- *** CUT botton -->
